package com.heima.common.wemedia;

/**
 * @author huan
 * @serial 每天一百行, 致敬未来的自己
 * @Description
 */

/**
 * 声明文章上下架消息的常量
 */
public class NewsUpOrDownConstants {
    /**
     * 文章上下架的交换机
     */
    public static final String NEWS_UP_OR_DOWN_EXCHANGE = "wm.news.up.or.down.topic";
    /**
     * 文章上架对应的文章配置队列
     */
    public static final String NEWS_UP_FOR_ARTICLE_CONFIG_QUEUE = "news.up.for.article.config.queue";
    /**
     * 文章上架对应的ES消息队列
     */
    public static final String NEWS_UP_FOR_ES_QUEUE = "news.up.for.es.queue";
    /**
     * 文章下架对应的ES消息队列
     */
    public static final String NEWS_DOWN_FOR_ES_QUEUE = "news.down.for.es.queue";
    /**
     * 文章下架对应的文章配置队列
     */
    public static final String NEWS_DOWN_FOR_ARTICLE_CONFIG_QUEUE = "news.down.for.article.config.queue";
    /**
     * 文章上架的routingKey
     */
    public static final String NEWS_UP_ROUTE_KEY = "news.up";
    /**
     * 文章下架的routingKey
     */
    public static final String NEWS_DOWN_ROUTE_KEY = "news.down";
}
